
<h3 class="header smaller lighter blue mg-bottom20 mg-top12">招聘管理</h3>
<div class="row">
    <div class="col-xs-12">
        <div class="clearfix  well">
    </div>

    <!-- <div class="table-responsive"> -->

    <!-- <div class="dataTables_borderWrap"> -->
    <div>
        <table id="sample-table" class="table table-striped table-bordered table-hover">
            <thead>
            <tr>
                <th class="center">
                    <label class="position-relative">

                        <input type="checkbox" class="ace" />
                        <span class="lbl"></span>
                        ID
                    </label>
                </th>
                <th>岗位</th>
                <th>薪资</th>
                <th>人数</th>
                <th>岗位职责</th>
                <th>岗位要求</th>
                <th>状态</th>
                <th>添加时间</th>
                <th>最后编辑时间</th>
                <th>操作</th>
            </tr>
            </thead>

            <tbody>
            @if(!empty($listArr))
            @foreach($listArr as $v)
                <tr>
                    <td class="center">
                        <label class="position-relative">
                            <input type="checkbox" class="ace" value="{{ $v['id'] }}" name="chk[]"/>
                            <span class="lbl">{{ $v['id'] }}</span>
                        </label>
                    </td>
                    <td>
                        <span>{{ $v['position']}}</span>
                    </td>
                    <td>{{ $v['money'] }}</td>
                    <td>{{ $v['number'] }}</td>
                    <td> {{$v['position_duty']}}</td>

                    <td>{{ $v['position_demand']}}</td>
                    <td>
                        <span class="@if($v['is_delete'] ==0) green @else red @endif" >@if($v['is_delete'] == 0) 展示中 @else 已删除 @endif</span>
                    </td>
                    <td>
                        {{$v['created_at']}}
                    </td>
                    <td>
                        {{$v['updated_at']}}
                    </td>
                    <td>
                        <div class="btn-group">
                            <a class="btn btn-xs btn-info" href="inviteManageEdit/{{ $v['id'] }}">
                                <i class="fa fa-edit"></i>编辑
                            </a>
                            @if($v['is_delete'] !=1)
                            <a class="btn btn-xs btn-danger" href="inviteManageDelete/{{ $v['id'] }}" onclick="if(window.confirm('确认删除吗,删除后前台页面不再显示') == false) return false">
                                <i class="fa fa-trash-o"></i>删除
                            </a>
                            @endif
                        </div>
                    </td>
                </tr>
            @endforeach
            @endif
            </tbody>

        </table>
            <div class="row">
                <div class="col-xs-12">
                    <div class="dataTables_info" id="sample-table-2_info" role="status" aria-live="polite">
                        <a href="/manage/inviteManageAdd" class="btn  btn-primary btn-sm">发布新职位</a>
                    </div>
                </div>
                <div class="space-10 col-xs-12"></div>
                <div class="col-xs-12">
                    <div class="dataTables_paginate paging_bootstrap row">
                        <ul class="pagination">
                            {!! $list->appends($merge)->render() !!}
                        </ul>
                    </div>
                </div>
            </div>
        </form>
        </div>
    </div>
    </div>

{!! Theme::asset()->container('custom-css')->usePath()->add('backstage', 'css/backstage/backstage.css') !!}
{!! Theme::asset()->container('custom-js')->usePath()->add('checked-js', 'js/checkedAll.js') !!}
